﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/MasterPage/AdminInner.Master" AutoEventWireup="true" CodeBehind="AdvertAuditList.aspx.cs" Inherits="WebSite.Admin.AdvertManager.AdvertAuditList" %>
<%@ Register Assembly="BaseSet.Entity" Namespace="BaseSet.Entity.Common.Controls"
    TagPrefix="cc1" %>


<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<style type="text/css">
<!--
.STYLE11 {font-size: 12px}
.STYLE13 {font-size: 12px; font-weight: bold; }
.STYLE14 {
	color: #03515d;
	font-size: 12px;
}
-->
</style>
<script type="text/javascript" src="../../js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" language="javascript" src="../js/tableliststyle.js"></script>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
  <td class="STYLE14" bgcolor="#FFFFFF" >
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr><td width="8" background="../images/tab_12.gif">&nbsp;</td><td height="15px" ></td> <td width="8" background="../images/tab_15.gif">&nbsp;</td></tr>

  <tr>
  <td width="8" background="../images/tab_12.gif">&nbsp;</td>
  <td>
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
  <td>广告位：</td>
  <td align="left">
      <asp:DropDownList ID="ddlAdPosition" runat="server">
      <asp:ListItem Text="-请选择-" Value="-1"></asp:ListItem>
      </asp:DropDownList>
  </td>
  <td>用户昵称：</td>
  <td align="left">
      <asp:TextBox ID="txtNickName" runat="server"></asp:TextBox>
  </td>
  <td>
      <asp:Button ID="btnSearch" CssClass="ButtonCss"  runat="server" Text="查询" onclick="btnSearch_Click" Width="69px" /></td>
  </tr>
  </table>
  </td>
  
      <td width="8" background="../images/tab_15.gif">&nbsp;</td>
  </tr>
  <tr><td width="8" background="../images/tab_12.gif">&nbsp;</td><td height="15px" ></td> <td width="8" background="../images/tab_15.gif">&nbsp;</td></tr>
  </table>
  </td>
  </tr>

  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="8" background="../images/tab_12.gif">&nbsp;</td>
        <td>
            <asp:Repeater ID="rptAdvert" runat="server" 
                onitemcommand="rptAdvert_ItemCommand">
            <HeaderTemplate>
            <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="b5d6e6" onmouseover="changeto(event)"  onmouseout="changeback(event)">
          <tr>
            <td width="3%" height="22" background="../images/bg.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE11">序号</span></div></td>
            <td width="10%" height="22" background="../images/bg.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE11">广告位</span></div></td>
            <td width="10%" height="22" background="../images/bg.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE11">广告名称</span></div></td>
            <td width="5%" height="22" background="../images/bg.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE11">类型</span></div></td>
            <td width="15%" height="22" background="../images/bg.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE11">图片</span></div></td>
            <td width="15%" height="22" background="../images/bg.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE11">文字</span></div></td>
             <td width="10%" height="22" background="../images/bg.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE11">链接地址</span></div></td>
             <td width="5%" height="22" background="../images/bg.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE11">用户昵称</span></div></td>
            <td width="10%" height="22" background="../images/bg.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE11">添加日期</span></div></td>
            <td width="10%" height="22" background="../images/bg.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE11">操作</span></div></td>
           
          </tr>
            </HeaderTemplate>
            <ItemTemplate>
            <tr>
            <td height="20" bgcolor="#FFFFFF"><div align="center" class="STYLE11">
              <div align="center"><%# Container.ItemIndex+1%></div>
            </div>
                <asp:HiddenField ID="hidID" runat="server" Value='<%#Eval("ID") %>'/>
            </td>
            <td height="20" bgcolor="#FFFFFF"><div align="center"><span class="STYLE11"><%#Eval("AdPositionName")%></span></div></td>
            <td height="20" bgcolor="#FFFFFF"><div align="center"><span class="STYLE11"><%#Eval("AdName")%></span></div></td>
            <td height="20" bgcolor="#FFFFFF"><div align="center"><span class="STYLE11"><%#Eval("strAdType")%></span></div></td>
            <td bgcolor="#FFFFFF"><div align="center"><span class="STYLE11">
                <a href="../../AdImages/<%#Eval("ImageURL")%>" target="_blank"><img alt="" src="../../AdImages/<%#Eval("ImageURL")%>" width="200px" height="50px" border="0"/></a></span></div></td>
                <td height="20" bgcolor="#FFFFFF"><div align="center"><span class="STYLE11"><%#Eval("AdScript")%></span></div></td>
           <td bgcolor="#FFFFFF"><div align="center"><span class="STYLE11"><a href="<%#Eval("LinkURL")%>" target="_blank">查看链接</a></span></div></td>
           <td bgcolor="#FFFFFF"><div align="center"><span class="STYLE11"><%#Eval("NickName")%></span></div></td>
           <td bgcolor="#FFFFFF"><div align="center"><span class="STYLE11"><%# DataBinder.Eval(Container.DataItem, "CreateDate", "{0:yyyy-MM-dd}")%></span></div></td>
           <td bgcolor="#FFFFFF"><div align="center">
               <asp:LinkButton ID="lbOK" runat="server" CommandName="ok">通过</asp:LinkButton>
               <asp:LinkButton ID="lbNo" runat="server" CommandName="no">拒绝</asp:LinkButton>
           </div></td>
          </tr>
            </ItemTemplate>
            <FooterTemplate>
            </table>
            </FooterTemplate>
            </asp:Repeater>
        </td>
        <td width="8" background="../images/tab_15.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>

  <tr>
    <td height="35" background="../images/tab_19.gif">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="12" height="35"><img src="../images/tab_18.gif" width="12" height="35" /></td>
        <td>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
        <td class="STYLE14">
    <ul class="subsubsub">
        <asp:Literal ID="PageLiteral" runat="server"></asp:Literal>
    </ul>
      <cc1:URLPager ID="AdvertUPager" runat="server" UseSpacer="False" UseFirstLast="true"
        PageSize="15" FirstText="<< 首页" LastText="尾页 >>" LinkFormatActive='<span class=Current>{1}</span>'
        CssClass="Pager" />
   
   </td>
   </tr>
   </table>
        </td>
        <td width="16"><img src="../images/tab_20.gif" width="16" height="35" /></td>
      </tr>
    </table>
    </td>
  </tr>
</table>
</asp:Content>
